package com.git.controller;

import javax.servlet.http.HttpServletRequest;

import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import com.git.domain.BaseResponse;
import com.git.util.RedisUtils;

@RestController
@RequestMapping("redis")
public class RedisController {
	
	@RequestMapping("/insert")
	public BaseResponse insert(HttpServletRequest request){
		RedisUtils.putString("18810629868", "123456", 0);
		return BaseResponse.SUCCESSFUL();
	}
	
}
